package com.jason.designpattern.creational.builder;

public class ManBuilder implements PersonBuilder {
	
	private Person person;
	
	public ManBuilder() {
		person = new Man();
	}

	public void buildHead() {
		person.setHead("Build the man head!");
		System.out.println("Build the man head!");
	}

	public void buldBody() {
		person.setBody("Build the man body!");
		System.out.println("Build the man body!");
	}

	public void buildArmLeft() {
		person.setArmLeft("Build the man left arm!");
		System.out.println("Build the man left arm!");
	}

	public void buildArmRight() {
		person.setArmRight("Build the man right arm!");
		System.out.println("Build the man right arm!");
	}

	public void buildLegLeft() {
		person.setLegLeft("Build the man left leg!");
		System.out.println("Build the man left leg!");
	}

	public void buildLegRight() {
		person.setLegRight("Build the man right leg!");
		System.out.println("Build the man right leg!");
	}

	public Person buildPerson() {
		return person;
	}
	
}
